<div id="content">
    <div class="post">
            <h2 class="title"><a href="#">Listado de monitoreos</a></h2>
               <div class="entry">
                   <?php include_partial('filtro', array('filtro' => $filtro)) ?>
                   <?php include_partial('global/flash'); ?>
                    <table>
                      <thead>
                        <tr>
                          <th></th>
                          <th>Programado/<br/>Realizado</th>
                          <th>Lote Nro</th>
                          <th>Resultado</th>
                          <th>Acciones</th>
                        </tr>
                      </thead>
                      <tbody>
                        <?php $count=0; foreach ($monitoreos as $monitoreo): $count++ ?>
                        <tr <?php if($count%2 == 0) echo 'class="odd"' ?>>
                          <td class="col1"><?php include_partial('flag', array('monitoreo' => $monitoreo))?></td>
                          <td><?php echo $monitoreo->getFecha()?></td>
                          <td><?php echo $monitoreo->getCampana()->getLote() ?></td>
                          <td class="colResultado"><?php include_partial('color', array('value' => $monitoreo->getEstadoGeneral()))?></td>
                          <td><?php include_partial('global/bar',array('object' => $monitoreo));  ?></td>
                        </tr>
                        <?php endforeach; ?>
                      </tbody>
                    </table>
               </div>
    </div>
        <div style="clear: both;">&nbsp;</div>
</div>
<!-- end #content -->

<!-- begin #sidebar -->
<?php include_partial('global/sidebar', array('object' => $monitoreo))?>
<!-- end #sidebar -->

<div style="clear: both;">&nbsp;</div>
<!-- end #page -->


